package com.fan.shop.dao;

import java.util.List;

import com.fan.shop.domain.Role;


public interface RoleDao {
	public Role getRole(String username);

	public List<Role> getAllRoles();

	public int getSize();

	public void addRole(Role role);

	public void updateStock(Role role);

	public void deleteRole(Role role);
	
	public boolean hasRole(String username);
	
	public List<String> getColumnNames();
	
	public String getUserGroup(String username);
	
}
